<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>模拟一个大网站</title>
		<style>
			#head{border: 1px solid red;height: 120px;}
			#head .nav li{
				float: left;
				list-style: none;
				margin-left: 7px;
			}
			#head .nav li a{text-decoration: none;font-size: 15px;}
			#content{
				border: 1px groove blue;
			}
			#content #left,#content #middle,#content #right{
				float: left;
				width: 200px;
				border: 2px solid #00008B;
			}
			#footer{
				border:1px dotted green;
			}
			.clear{
				height: 0;
				clear: both;
			}
		</style>
	</head>
	<body>
		<div id="head">
		<ul class="nav">
        <li>
        	<a href="javascript:login();" class="link-login">你好，请登录</a>
        	&nbsp;&nbsp;<a href="javascript:regist();" class="link-regist style-red">免费注册</a>
        </li>
        <li><a href="#">我的订单</a></li> 
        <li><a href="#">海外狗</a></li> 
        <li><a href="#">京东下乡</a></li> 
        <li><a href="#">家用电器</a></li> 
        <li><a href="#">手机数码</a></li> 
        
      </ul>
		</div>
		<div id="content">
			<div id="left">
				<ul>
					<li>今日特惠螃蟹</li>
					<li>今日特惠螃蟹1</li>
					<li>今日特惠螃蟹2</li>
					<li>今日特惠螃蟹3</li>
					<li>今日特惠螃蟹4</li>
				</ul>
			</div>
			<div id="middle">中间区域</div>
			<div id="right">右侧</div>
			<div class="clear"></div>
		</div>
		<div id="footer" >
			这是尾部
		</div>
	</body>
</html>
